package com.zsy.bean;

import java.io.Serializable;
import java.util.List;
/**
 * 该类是配置文件bean，用来封装配置文件信息，供系统使用
 * @author 周素影
 *
 */
public class PropertyBean  implements Serializable{
	private String type; /*抓取类型，分为bss等*/
	private String prefix; /*被抓取url的前缀*/
	private List structRegex; /*正则表达式，用于匹配url对应的页面是否为结构化页面*/
	private int threadCount; /*线程数*/
	private String replyRegex; /*正则表达式，用于匹配url对应的页面中的回复数*/
	private String browseRegex; /*正则表达式，用于匹配url对应的页面中浏览数*/
	private String url; /*初始url，从该url开始抓取*/
	private String host; /*被抓取网站的主机*/
	private String encode;
	
	
	public String getEncode() {
		return encode;
	}
	public void setEncode(String encode) {
		this.encode = encode;
	}
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getPrefix() {
		return prefix;
	}
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}
	public List getStructRegex() {
		return structRegex;
	}
	public void setStructRegex(List structRegex) {
		this.structRegex = structRegex;
	}
	public int getThreadCount() {
		return threadCount;
	}
	public void setThreadCount(int threadCount) {
		this.threadCount = threadCount;
	}
	public String getReplyRegex() {
		return replyRegex;
	}
	public void setReplyRegex(String replyRegex) {
		this.replyRegex = replyRegex;
	}
	public String getBrowseRegex() {
		return browseRegex;
	}
	public void setBrowseRegex(String browseRegex) {
		this.browseRegex = browseRegex;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	
	

}
